package com.zr.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zr.dao.BaseDao;
import com.zr.datamodel.RoleDM;
import com.zr.datamodel.UserDM;
import com.zr.service.RoleService;
import com.zr.service.UserService;

@Service("roleService")
public class RoleServiceImp implements RoleService {

	@Resource
	private BaseDao<RoleDM> baseDao;

	@Override
	public RoleDM findRoleById(int id) {
		return baseDao.get(RoleDM.class, id);
	}
	
}
